
import type { OrderPreData, OrderPreParams } from "@/types/order"
import { request } from "@/utils/request"


/**
 * 生成预支付订单
 */
export const preOrderApi = (params: OrderPreParams) => {
  return request.get<null, OrderPreData>('/patient/consult/order/pre', {
    params
  })
}